package com.timebank.volunteer.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 高德地图 逆地理编码
 * @author shiliuyinzhen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ReGeocode {

    /** 国家 */
    @ApiModelProperty(value = "国家")
    private String country;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "城市编码")
    private String citycode;

    @ApiModelProperty(value = "区/县级名称")
    private String district;

    @ApiModelProperty(value = "区/县级编码")
    private String adcode;

    @ApiModelProperty(value ="乡镇")
    private String township;

    @ApiModelProperty(value ="乡镇街道编码")
    private String towncode;

    @ApiModelProperty(value = "街道名称")
    private String street;

    @ApiModelProperty(value = "门牌号")
    private String number;

    @ApiModelProperty(value = "经纬度信息")
    private String location;

    @ApiModelProperty("地址")
    private String formatted_address;

}
